if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ForEShopUnit1]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
Drop Trigger [dbo].[ForEShopUnit1]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ForEShopUnit2]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
Drop Trigger [dbo].[ForEShopUnit2]


if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[vw_EShopGoods]') and xtype='V')
Drop view [dbo].[vw_EShopGoods]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TransferOfinformationBetweenFinancialYears]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[TransferOfinformationBetweenFinancialYears]